package org.hdl.anima.protocol;
/**
 * 
 * @author qiuhd
 * @since 2014-9-13	
 *
 */
public class PacketHeader {
	
	public enum PacketType {
		HANDSNAKE,
		HEARTBEAT,
		MESSAGE,
		KICK
	}
	
	private short magic;

	private byte type;
	
	private byte compressed;
	
	private int length;
	
	public PacketHeader(byte type, byte compressed,int length) {
		this.type = type;
	}
	
	
}
